package com.csy.property.community.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.csy.commons.core.domain.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class AjComplaintSuggest extends BaseEntity {

    private static final long serialVersionUID = -6270876134205477876L;

    /*意见号*/
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long complaintSuggestId;

    /*小区id*/
    @JsonSerialize(using = ToStringSerializer.class)
    private Long communityId;

    /*小区id*/
    private String complaintSuggestType;

    /*小区id*/
    private String complaintSuggestContent;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

    @TableField(exist = false)
    private String username;


}
